#!/bin/sh
#
#	$HeadURL: http://diyalarm.googlecode.com/svn/trunk/startSensors.sh $
#	$Revision: 128 $
#	$Date: 2012-12-02 00:31:05 +0000 (Sun, 02 Dec 2012) $
#

SENSOR=sensor_d.pl

if [ -x $SENSOR ] ; then
	for PORT in 5000 5001 5002 5003 5004
	do
		./$SENSOR $PORT password admin & 
	done

	#	Start up neighborhood/public sensor.
	NOW=`date +%s`
	./$SENSOR 5911 public $RANDOM$NOW$RANDOM &
else
	echo "Sensor daemon not executable."
	exit
fi

# EOF
